package com.service;


import com.bean.User;

import java.util.List;


public interface UserService {
    public User adminlogin(String username,String password);
    public List<User> getUsersByPage(int page,int limit);
    public int getUserLength();

    public int addUser(User user);

    public List<User> getUsers();

    public  int delUserById(int id);

    public User selectUserById(int id);

    public  int updateUserById(User user);
}
